
<!-- 数据科学与大数据一班  F21600122周群  2024/1/4 -->
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8">
		<title>淘票票支付页面</title>
		<link rel="stylesheet" href="css/10.css" />
		
	</head>
	<body>
		<div class="header">
			<div class="one">
				<div class="four">
					<div><button id="backButton" onclick="goBack()">
							<p><</p>
						</button></div>
				</div>
			
				<div class="two">
					<div><img src="img/zhidubao.png" alt="cc" class="img1" /></div>
					<div class="three">支付宝付款</div>
				</div>
				<div><button id="myButton" class="san">
						<p>...</p>
					</button>
				</div>
			</div>
		</div>
		</div>
		<div class="six">《潜行》幸福蓝海影城（宝山北城时代广场）电影票 x 1</div>
		<div>
			<p class="text">￥40.90</p>
		</div>

		<div class="seven">
			<div class="text3">支付宝账号</div>
			<div>
				<div class="eight"><img src="img/toux.png" alt="qq" class="img2" /></div>
				<div class="text2">139********</div>
			</div>
		</div>
		<div class="nine">
			<div class="text3">付款方式</div>
			<div class="text2"><a href="10.1.html"><div id="displaySelection">选择支付方式</div></a></div>
		</div>
		<div class="horizontal-line"></div>
		<a href="10.2.html"><button class="button-color">确认付款</button></a>
		</div>
	</body>
	<script>
	window.onload = function() {
	  // 从localStorage中获取选中的内容
	  const selectedContent = localStorage.getItem("selectedContent");
	  // 检查是否有选中的内容
	  if (selectedContent) {
	    // 显示选中的内容，例如设置在某个元素内
	    document.getElementById("displaySelection").textContent = selectedContent;
	    // 清除localStorage中的选中内容（可选）
	    localStorage.removeItem("selectedContent");
	  }
	}
	function goBack() {
	  window.history.back();
	}
	</script>
</html>